﻿<!DOCTYPE html>
<html lang="zh" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>Internal Server Error</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
            font-size: .813em;
            color: #222;
            background-color: #fff;
        }

        h1, h2, h3, h4, h5 {
            /*font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;*/
            font-weight: 100;
        }

        h1 {
            color: #44525e;
            margin: 15px 0 15px 0;
        }

        h2 {
            margin: 10px 5px 0 0;
        }

        h3 {
            color: #363636;
            margin: 5px 5px 0 0;
        }

        code {
            font-family: Consolas, "Courier New", courier, monospace;
        }

        body .titleerror {
            padding: 3px 3px 6px 3px;
            display: block;
            font-size: 1.5em;
            font-weight: 100;
        }

        body .location {
            margin: 3px 0 10px 30px;
        }

        #header {
            font-size: 18px;
            padding: 15px 0;
            border-top: 1px #ddd solid;
            border-bottom: 1px #ddd solid;
            margin-bottom: 0;
        }

            #header li {
                display: inline;
                margin: 5px;
                padding: 5px;
                color: #a0a0a0;
                cursor: pointer;
            }

            #header .selected {
                background: #44c5f2;
                color: #fff;
            }

        #stackpage ul {
            list-style: none;
            padding-left: 0;
            margin: 0;
            /*border-bottom: 1px #ddd solid;*/
        }

        #stackpage .details {
            font-size: 1.2em;
            padding: 3px;
            color: #000;
        }

        #stackpage .stackerror {
            padding: 5px;
            border-bottom: 1px #ddd solid;
        }


        #stackpage .frame {
            padding: 0;
            margin: 0 0 0 30px;
        }

            #stackpage .frame h3 {
                padding: 2px;
                margin: 0;
            }

        #stackpage .source {
            padding: 0 0 0 30px;
        }

            #stackpage .source ol li {
                font-family: Consolas, "Courier New", courier, monospace;
                white-space: pre;
                background-color: #fbfbfb;
            }

        #stackpage .frame .source .highlight li span {
            color: #FF0000;
        }

        #stackpage .source ol.collapsible li {
            color: #888;
        }

            #stackpage .source ol.collapsible li span {
                color: #606060;
            }

        .page table {
            border-collapse: separate;
            border-spacing: 0;
            margin: 0 0 20px;
        }

        .page th {
            vertical-align: bottom;
            padding: 10px 5px 5px 5px;
            font-weight: 400;
            color: #a0a0a0;
            text-align: left;
        }

        .page td {
            padding: 3px 10px;
        }

        .page th, .page td {
            border-right: 1px #ddd solid;
            border-bottom: 1px #ddd solid;
            border-left: 1px transparent solid;
            border-top: 1px transparent solid;
            box-sizing: border-box;
        }

            .page th:last-child, .page td:last-child {
                border-right: 1px transparent solid;
            }

        .page .length {
            text-align: right;
        }

        a {
            color: #1ba1e2;
            text-decoration: none;
        }

            a:hover {
                color: #13709e;
                text-decoration: underline;
            }

        .showRawException {
            cursor: pointer;
            color: #44c5f2;
            background-color: transparent;
            font-size: 1.2em;
            text-align: left;
            text-decoration: none;
            display: inline-block;
            border: 0;
            padding: 0;
        }

        .rawExceptionStackTrace {
            font-size: 1.2em;
        }

        .rawExceptionBlock {
            border-top: 1px #ddd solid;
            border-bottom: 1px #ddd solid;
        }

        .showRawExceptionContainer {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .expandCollapseButton {
            cursor: pointer;
            float: left;
            height: 16px;
            width: 16px;
            font-size: 10px;
            position: absolute;
            left: 10px;
            background-color: #eee;
            padding: 0;
            border: 0;
            margin: 0;
        }
    </style>
</head>
<body>
    <h1>An unhandled exception occurred while processing the request.</h1>
    <div class="titleerror">DirectoryNotFoundException: Could not find a part of the path &#x27;D:\my-file\dbCountPsw1.txt&#x27;.</div>
    <p class="location">System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)</p>
    <div class="titleerror">TypeInitializationException: The type initializer for &#x27;Blog.Core.Repository.sugar.BaseDBConfig&#x27; threw an exception.</div>
    <p class="location">Blog.Core.Repository.AdvertisementRepository..ctor() in <code title="D:\学习项目\C#\bokekuangjia\Blog.Core.Repository\AdvertisementRepository.cs">AdvertisementRepository.cs</code>, line 31</p>
    <ul id="header">
        <li id="stack" tabindex="1" class="selected">
            Stack
        </li>
        <li id="query" tabindex="2">
            Query
        </li>
        <li id="cookies" tabindex="3">
            Cookies
        </li>
        <li id="headers" tabindex="4">
            Headers
        </li>
    </ul>

    <div id="stackpage" class="page">
        <ul>
            <li>
                <h2 class="stackerror">DirectoryNotFoundException: Could not find a part of the path &#x27;D:\my-file\dbCountPsw1.txt&#x27;.</h2>
                <ul>
                    <li class="frame" id="frame1">
                        <h3>System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)</h3>

                    </li>
                    <li class="frame" id="frame2">
                        <h3>System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)</h3>

                    </li>
                    <li class="frame" id="frame3">
                        <h3>System.IO.FileStream..ctor(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)</h3>

                    </li>
                    <li class="frame" id="frame4">
                        <h3>System.IO.StreamReader..ctor(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)</h3>

                    </li>
                    <li class="frame" id="frame5">
                        <h3>System.IO.StreamReader..ctor(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks)</h3>

                    </li>
                    <li class="frame" id="frame6">
                        <h3>System.IO.File.InternalReadAllText(string path, Encoding encoding)</h3>

                    </li>
                    <li class="frame" id="frame7">
                        <h3>System.IO.File.ReadAllText(string path)</h3>

                    </li>
                    <li class="frame" id="frame8">
                        <h3>Blog.Core.Repository.sugar.BaseDBConfig..cctor() in <code title="D:\学习项目\C#\bokekuangjia\Blog.Core.Repository\sugar\BaseDBConfig.cs">BaseDBConfig.cs</code></h3>

                        <button class="expandCollapseButton" data-frameId="frame8">+</button>
                        <div class="source">
                            <ol start="4" class="collapsible">
                                <li><span>using System.Text;</span></li>
                                <li><span></span></li>
                                <li><span>namespace Blog.Core.Repository.sugar</span></li>
                                <li><span>{</span></li>
                                <li><span>    public class BaseDBConfig</span></li>
                                <li><span>    {</span></li>
                            </ol>

                            <ol start="10" class="highlight">
                                <li><span>        public static string ConnectionString = File.ReadAllText(@&quot;D:\my-file\dbCountPsw1.txt&quot;).Trim();</span></li>
                            </ol>

                            <ol start='11' class="collapsible">
                                <li><span></span></li>
                                <li><span>        //&#x6B63;&#x5E38;&#x683C;&#x5F0F;&#x662F;</span></li>
                                <li><span></span></li>
                                <li><span>        //public static string ConnectionString = &quot;server=.;uid=sa;pwd=sa;database=BlogDB&quot;; </span></li>
                                <li><span></span></li>
                                <li><span>        //&#x539F;&#x8C05;&#x6211;&#x7528;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7684;&#x5F62;&#x5F0F;&#xFF0C;&#x56E0;&#x4E3A;&#x6211;&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x7684;&#x662F;&#x6211;&#x7684;&#x670D;&#x52A1;&#x5668;&#x8D26;&#x53F7;&#x548C;&#x5BC6;&#x7801;&#xFF0C;&#x5B89;&#x5168;&#x8D77;&#x89C1;</span></li>
                            </ol>
                        </div>
                    </li>
                </ul>
            </li>
            <li>
                <br />
                <div class="rawExceptionBlock">
                    <div class="showRawExceptionContainer">
                        <button class="showRawException" data-exceptionDetailId="exceptionDetail1">Show raw exception details</button>
                    </div>
                    <div id="exceptionDetail1" class="rawExceptionDetails">
                        <pre class="rawExceptionStackTrace">System.IO.DirectoryNotFoundException: Could not find a part of the path &#x27;D:\my-file\dbCountPsw1.txt&#x27;.&#xD;&#xA;   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)&#xD;&#xA;   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)&#xD;&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)&#xD;&#xA;   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)&#xD;&#xA;   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)&#xD;&#xA;   at System.IO.File.InternalReadAllText(String path, Encoding encoding)&#xD;&#xA;   at System.IO.File.ReadAllText(String path)&#xD;&#xA;   at Blog.Core.Repository.sugar.BaseDBConfig..cctor() in D:\&#x5B66;&#x4E60;&#x9879;&#x76EE;\C#\bokekuangjia\Blog.Core.Repository\sugar\BaseDBConfig.cs:line 10</pre>
                    </div>
                </div>
            </li>
            <li>
                <h2 class="stackerror">TypeInitializationException: The type initializer for &#x27;Blog.Core.Repository.sugar.BaseDBConfig&#x27; threw an exception.</h2>
                <ul>
                    <li class="frame" id="frame9">
                        <h3>Blog.Core.Repository.AdvertisementRepository..ctor() in <code title="D:\学习项目\C#\bokekuangjia\Blog.Core.Repository\AdvertisementRepository.cs">AdvertisementRepository.cs</code></h3>

                        <button class="expandCollapseButton" data-frameId="frame9">+</button>
                        <div class="source">
                            <ol start="25" class="collapsible">
                                <li><span>        {</span></li>
                                <li><span>            get { return context; }</span></li>
                                <li><span>            set { context = value; }</span></li>
                                <li><span>        }</span></li>
                                <li><span>        public AdvertisementRepository()</span></li>
                                <li><span>        {</span></li>
                            </ol>

                            <ol start="31" class="highlight">
                                <li><span>            DbContext.Init(BaseDBConfig.ConnectionString);</span></li>
                            </ol>

                            <ol start='32' class="collapsible">
                                <li><span>            context = DbContext.GetDbContext();</span></li>
                                <li><span>            db = context.Db;</span></li>
                                <li><span>            entityDB = context.GetEntityDB&lt;Advertisement&gt;(db);</span></li>
                                <li><span>        }</span></li>
                                <li><span>        public int Add(Advertisement model)</span></li>
                                <li><span>        {</span></li>
                            </ol>
                        </div>
                    </li>
                    <li class="frame" id="frame10">
                        <h3>Blog.Core.Services.AdvertisementServices..ctor() in <code title="D:\学习项目\C#\bokekuangjia\Blog.Core.Services\AdvertisementServices .cs">AdvertisementServices .cs</code></h3>

                        <button class="expandCollapseButton" data-frameId="frame10">+</button>
                        <div class="source">
                            <ol start="7" class="collapsible">
                                <li><span>using System.Linq.Expressions;</span></li>
                                <li><span></span></li>
                                <li><span>namespace Blog.Core.Services</span></li>
                                <li><span>{</span></li>
                                <li><span>    public class AdvertisementServices: IAdvertisementServices</span></li>
                                <li><span>    {</span></li>
                            </ol>

                            <ol start="13" class="highlight">
                                <li><span>        public IAdvertisementRepository dal = new AdvertisementRepository();</span></li>
                            </ol>

                            <ol start='14' class="collapsible">
                                <li><span>        public int Sum(int i, int j)</span></li>
                                <li><span>        {</span></li>
                                <li><span>            return dal.Sum(i, j);</span></li>
                                <li><span></span></li>
                                <li><span>        }</span></li>
                                <li><span></span></li>
                            </ol>
                        </div>
                    </li>
                    <li class="frame" id="frame11">
                        <h3>Blog.Core.Controllers.BlogController.Get(int id) in <code title="D:\学习项目\C#\bokekuangjia\Blog.Core\Controllers\BlogController.cs">BlogController.cs</code></h3>

                        <button class="expandCollapseButton" data-frameId="frame11">+</button>
                        <div class="source">
                            <ol start="25" class="collapsible">
                                <li><span>        }</span></li>
                                <li><span></span></li>
                                <li><span>        // GET: api/Blog/5</span></li>
                                <li><span>        [HttpGet(&quot;{id}&quot;, Name = &quot;Get&quot;)]</span></li>
                                <li><span>        public List&lt;Advertisement&gt; Get(int id)</span></li>
                                <li><span>        {</span></li>
                            </ol>

                            <ol start="31" class="highlight">
                                <li><span>            IAdvertisementServices advertisementServices = new AdvertisementServices();</span></li>
                            </ol>

                            <ol start='32' class="collapsible">
                                <li><span>            return advertisementServices.Query(s =&gt; s.Id == id);</span></li>
                                <li><span>        }</span></li>
                                <li><span></span></li>
                                <li><span>        // POST: api/Blog</span></li>
                                <li><span>        [HttpPost]</span></li>
                                <li><span>        public void Post([FromBody] string value)</span></li>
                            </ol>
                        </div>
                    </li>
                    <li class="frame" id="frame12">
                        <h3>lambda_method(Closure , object , object[] )</h3>

                    </li>
                    <li class="frame" id="frame13">
                        <h3>Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(object target, object[] parameters)</h3>

                    </li>
                    <li class="frame" id="frame14">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor&#x2B;SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)</h3>

                    </li>
                    <li class="frame" id="frame15">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()</h3>

                    </li>
                    <li class="frame" id="frame16">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()</h3>

                    </li>
                    <li class="frame" id="frame17">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)</h3>

                    </li>
                    <li class="frame" id="frame18">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)</h3>

                    </li>
                    <li class="frame" id="frame19">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()</h3>

                    </li>
                    <li class="frame" id="frame20">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()</h3>

                    </li>
                    <li class="frame" id="frame21">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)</h3>

                    </li>
                    <li class="frame" id="frame22">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)</h3>

                    </li>
                    <li class="frame" id="frame23">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()</h3>

                    </li>
                    <li class="frame" id="frame24">
                        <h3>Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()</h3>

                    </li>
                    <li class="frame" id="frame25">
                        <h3>Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)</h3>

                    </li>
                    <li class="frame" id="frame26">
                        <h3>Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)</h3>

                    </li>
                    <li class="frame" id="frame27">
                        <h3>Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)</h3>

                    </li>
                    <li class="frame" id="frame28">
                        <h3>Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)</h3>

                    </li>
                    <li class="frame" id="frame29">
                        <h3>Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)</h3>

                    </li>
                    <li class="frame" id="frame30">
                        <h3>Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)</h3>

                    </li>
                    <li class="frame" id="frame31">
                        <h3>Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)</h3>

                    </li>
                    <li class="frame" id="frame32">
                        <h3>Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)</h3>

                    </li>
                    <li class="frame" id="frame33">
                        <h3>Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)</h3>

                    </li>
                </ul>
            </li>
            <li>
                <br />
                <div class="rawExceptionBlock">
                    <div class="showRawExceptionContainer">
                        <button class="showRawException" data-exceptionDetailId="exceptionDetail2">Show raw exception details</button>
                    </div>
                    <div id="exceptionDetail2" class="rawExceptionDetails">
                        <pre class="rawExceptionStackTrace">System.TypeInitializationException: The type initializer for &#x27;Blog.Core.Repository.sugar.BaseDBConfig&#x27; threw an exception. ---&gt; System.IO.DirectoryNotFoundException: Could not find a part of the path &#x27;D:\my-file\dbCountPsw1.txt&#x27;.&#xD;&#xA;   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)&#xD;&#xA;   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)&#xD;&#xA;   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)&#xD;&#xA;   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)&#xD;&#xA;   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)&#xD;&#xA;   at System.IO.File.InternalReadAllText(String path, Encoding encoding)&#xD;&#xA;   at System.IO.File.ReadAllText(String path)&#xD;&#xA;   at Blog.Core.Repository.sugar.BaseDBConfig..cctor() in D:\&#x5B66;&#x4E60;&#x9879;&#x76EE;\C#\bokekuangjia\Blog.Core.Repository\sugar\BaseDBConfig.cs:line 10&#xD;&#xA;   --- End of inner exception stack trace ---&#xD;&#xA;   at Blog.Core.Repository.AdvertisementRepository..ctor() in D:\&#x5B66;&#x4E60;&#x9879;&#x76EE;\C#\bokekuangjia\Blog.Core.Repository\AdvertisementRepository.cs:line 31&#xD;&#xA;   at Blog.Core.Services.AdvertisementServices..ctor() in D:\&#x5B66;&#x4E60;&#x9879;&#x76EE;\C#\bokekuangjia\Blog.Core.Services\AdvertisementServices .cs:line 13&#xD;&#xA;   at Blog.Core.Controllers.BlogController.Get(Int32 id) in D:\&#x5B66;&#x4E60;&#x9879;&#x76EE;\C#\bokekuangjia\Blog.Core\Controllers\BlogController.cs:line 31&#xD;&#xA;   at lambda_method(Closure , Object , Object[] )&#xD;&#xA;   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State&amp; next, Scope&amp; scope, Object&amp; state, Boolean&amp; isCompleted)&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()&#xD;&#xA;   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()&#xD;&#xA;   at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)&#xD;&#xA;   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)&#xD;&#xA;   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)&#xD;&#xA;   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)&#xD;&#xA;   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)&#xD;&#xA;   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)&#xD;&#xA;   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)&#xD;&#xA;   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)&#xD;&#xA;   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)</pre>
                    </div>
                </div>
            </li>
        </ul>
    </div>

    <div id="querypage" class="page">
        <p>No QueryString data.</p>
    </div>

    <div id="cookiespage" class="page">
        <p>No cookie data.</p>
    </div>
    <div id="headerspage" class="page">
        <table>
            <thead>
                <tr>
                    <th>Variable</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Accept</td>
                    <td>application/json</td>
                </tr>
                <tr>
                    <td>Accept-Encoding</td>
                    <td>gzip, deflate, br</td>
                </tr>
                <tr>
                    <td>Accept-Language</td>
                    <td>zh-CN,zh;q=0.9,en;q=0.8</td>
                </tr>
                <tr>
                    <td>Connection</td>
                    <td>keep-alive</td>
                </tr>
                <tr>
                    <td>Host</td>
                    <td>localhost:5000</td>
                </tr>
                <tr>
                    <td>Referer</td>
                    <td>http://localhost:5000/swagger/index.html</td>
                </tr>
                <tr>
                    <td>User-Agent</td>
                    <td>Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36</td>
                </tr>
            </tbody>
        </table>
    </div>
    <script>
            //<!--
            (function (window, undefined) {
    "use strict";

    function ns(selector, element) {
        return new NodeCollection(selector, element);
    }

    function NodeCollection(selector, element) {
        this.items = [];
        element = element || window.document;

        var nodeList;

        if (typeof (selector) === "string") {
            nodeList = element.querySelectorAll(selector);
            for (var i = 0, l = nodeList.length; i < l; i++) {
                this.items.push(nodeList.item(i));
            }
        }
    }

    NodeCollection.prototype = {
        each: function (callback) {
            for (var i = 0, l = this.items.length; i < l; i++) {
                callback(this.items[i], i);
            }
            return this;
        },

        children: function (selector) {
            var children = [];

            this.each(function (el) {
                children = children.concat(ns(selector, el).items);
            });

            return ns(children);
        },

        hide: function () {
            this.each(function (el) {
                el.style.display = "none";
            });

            return this;
        },

        toggle: function () {
            this.each(function (el) {
                el.style.display = el.style.display === "none" ? "" : "none";
            });

            return this;
        },

        show: function () {
            this.each(function (el) {
                el.style.display = "";
            });

            return this;
        },

        addClass: function (className) {
            this.each(function (el) {
                var existingClassName = el.className,
                    classNames;
                if (!existingClassName) {
                    el.className = className;
                } else {
                    classNames = existingClassName.split(" ");
                    if (classNames.indexOf(className) < 0) {
                        el.className = existingClassName + " " + className;
                    }
                }
            });

            return this;
        },

        removeClass: function (className) {
            this.each(function (el) {
                var existingClassName = el.className,
                    classNames, index;
                if (existingClassName === className) {
                    el.className = "";
                } else if (existingClassName) {
                    classNames = existingClassName.split(" ");
                    index = classNames.indexOf(className);
                    if (index > 0) {
                        classNames.splice(index, 1);
                        el.className = classNames.join(" ");
                    }
                }
            });

            return this;
        },

        attr: function (name) {
            if (this.items.length === 0) {
                return null;
            }

            return this.items[0].getAttribute(name);
        },

        on: function (eventName, handler) {
            this.each(function (el, idx) {
                var callback = function (e) {
                    e = e || window.event;
                    if (!e.which && e.keyCode) {
                        e.which = e.keyCode; // Normalize IE8 key events
                    }
                    handler.apply(el, [e]);
                };

                if (el.addEventListener) { // DOM Events
                    el.addEventListener(eventName, callback, false);
                } else if (el.attachEvent) { // IE8 events
                    el.attachEvent("on" + eventName, callback);
                } else {
                    el["on" + type] = callback;
                }
            });

            return this;
        },

        click: function (handler) {
            return this.on("click", handler);
        },

        keypress: function (handler) {
            return this.on("keypress", handler);
        }
    };

    function frame(el) {
        ns(".source .collapsible", el).toggle();
    }

    function expandCollapseButton(el) {
        var frameId = el.getAttribute("data-frameId");
        frame(document.getElementById(frameId));
        if (el.innerText === "+") {
            el.innerText = "-";
        }
        else {
            el.innerText = "+";
        }
    }

    function tab(el) {
        var unselected = ns("#header .selected").removeClass("selected").attr("id");
        var selected = ns("#" + el.id).addClass("selected").attr("id");

        ns("#" + unselected + "page").hide();
        ns("#" + selected + "page").show();
    }

    ns(".rawExceptionDetails").hide();
    ns(".collapsible").hide();
    ns(".page").hide();
    ns("#stackpage").show();

    ns(".expandCollapseButton")
        .click(function () {
            expandCollapseButton(this);
        })
        .keypress(function (e) {
            if (e.which === 13) {
                expandCollapseButton(this);
            }
        });

    ns("#header li")
        .click(function () {
            tab(this);
        })
        .keypress(function (e) {
            if (e.which === 13) {
                tab(this);
            }
        });

    ns(".showRawException")
        .click(function () {
            var exceptionDetailId = this.getAttribute("data-exceptionDetailId");
            ns("#" + exceptionDetailId).toggle();
        });
})(window);
            //-->
    </script>
</body>
</html>